<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
    <script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap/bootstrap.min.js"></script>
    <link href="<%=request.getContextPath()%>/css/bootstrap/bootstrap.min.css" rel="stylesheet">
<body>
<h2>Hello World!我们都是好孩子</h2>
<form name="from1" action="user/showuser.do" method="post">
<table width="300" border="1">
<tr>
    <td colspan="2"> 登录窗口</td>
</tr>
<tr>
    <td > 用户名</td>
    <td > <input type="text" name="username" size="10"></td>
</tr>
<tr>
    <td > 密码</td>
    <td > <input type="password" name="password" size="10"></td>
</tr>
<tr>
     <td colspan ="2"> <input  type="submit" name="submit" value="登录">
     <a href="user/register.do">注册新用户</a></td>
</tr>
 </table>
</form>
<form name="from2" action="user/register.do" method="post">
<table width="300" border="1">
<tr>
    <td colspan="2"> 登录窗口</td>
</tr>
<tr>
    <td > 用户名</td>
    <td > <input type="text" name="username" size="10"></td>
</tr>
<tr>
    <td > 密码</td>
    <td > <input type="password" name="password" size="10"></td>
</tr>
<tr>
     <td colspan ="2"> <input type="submit" name="submit" value="注册">
</tr>
 </table>
</form>




</body>
</html>
